<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>卡片动画效果</title>
    <link rel="stylesheet" href="./font_3918297_4ozuz9t0oz/iconfont.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .box {
            position: relative;
            width: 380px;
            height: 260px;
            margin: 50px auto;
            border-radius: 10px;
            transition: all 1s;
        }
        .box img {
            border-radius: 10px;
        }
        .zz {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 10px;
            background-color: rgba(0, 0, 0, 0.4);
            text-align: center;
            opacity: 0;
            transition: all 1s;
            /* 设置左下角原点 */
            transform-origin: left bottom;
            transform: scale(0);
        }
        .zz a {
            color: rgb(255, 255, 255);
            text-decoration: none;
            /* transform: translateY(130px); */
            padding: 0 83px;
            position: absolute;
            top: 120px;
            left: 0px;
        }
        .zz span {
            font-size: 40px;
            color: white;
            position: absolute;
            top: 80px;
            right: 166px;
        }
        .box:hover .zz {
            transform: scale(1);
            opacity: 1;
        }
        a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./img/01.jpg" alt="">
        <div class="zz">
            <span class="iconfont icon-sousuofangda"></span>
            <a href="#">青海塔尔寺艺僧指尖绽放“百年梦境”酥油花</a>
        </div>
    </div>
</body>
</html>